A burglar is someone who illegally enters a building with the intent to commit a crime, typically theft. It is important to distinguish between a burglar and occupations such as a firefighter, teacher, or doctor, as they do not engage in criminal activities like breaking into buildings.