What’s the difference between a photographer and a videographer?

A photographer captures still images, while a videographer records moving images, typically for films, events, or commercials.