Assertion (A): All squares are rectangles. Reason (R): Rectangles have four sides. Which of the following is correct?

Answer: A. Both A and R are true, and R is the correct explanation for A.
Both the assertion and reason are true, and the reason correctly explains the assertion.