Advertising is a way for companies to encourage people to buy goods, services, or ideas through various media sponsored by an identified company. Advertisers use many techniques to get people's attention, such as shocking images, and then try to appeal to consumers' emotions or sense of humor to promote their brand. The history of advertising dates back thousands of years to ancient Egypt, Greece, and Rome, where messages were painted on walls and posters to promote commercial products. One of the first well-known modern advertisers was Thomas J. Barratt, who created effective advertising campaigns for Pears Soap in the 19th century that involved slogans, images, and targeted messaging.