Architectural photography calls for Tilt-Shift lenses most of the time. These lenses correct perspective distortion. You can think of this as making sure that the vertical lines of a building actually look vertical, and not slanting towards each other. In the past, this may have called for a ‘technical camera‘ or a ‘bellows‘ attachment, but tilt-shift lenses are easier to manage in the field.
Sometimes, photographers may use an extremely wide-angle lens, or a special-effect lens to photograph architecture, but these instances are extremely rare because most architectural firms want to see their work the way that it was envisioned. These lenses are mentioned below, but their usage is rare.