To take a photograph of a subject with a camera, smartphone, etc.; the most common everyday expression for photographing.
旅行中はいつもスマホで写真を撮る。
I always take photos with my smartphone while traveling.
写真を撮るときは周りの人に迷惑をかけないようにしよう。
When taking photos, be careful not to bother the people around you.
美しい夕日を見て、思わず写真を撮った。
I saw a beautiful sunset and couldn't help taking a picture.
博物館ではフラッシュを使って写真を撮るのは禁止されている場合が多い。
In museums, using flash to take photos is often prohibited.