NexJ Systems Interview Question

Q: What is a bug ? how to document a ticket ?