This is a general rule, but there are some variations depending on your location and the time of year:
* Due East/Due West: The sun only rises and sets exactly due east and due west on the equinoxes (around March 20th and September 22nd).
* Northern Hemisphere: During the summer months, the sun rises north of east and sets north of west. In the winter months, it rises south of east and sets south of west.
* Southern Hemisphere: The opposite is true - summer sunrises are south of east and sunsets south of west, while winter sunrises are north of east and sunsets north of west.
Let me know if you'd like more detail about the sun's movement!