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

Answer: B. Both A and R are true, but R is not the correct explanation of A.
The assertion is true, and the reason is also true, but the reason does not specifically explain why all squares are rectangles.