A compound sentence contains at least two independent clauses joined by a coordinating conjunction (like "and," "but," or "or").
In this case, the correct answer is:
A - The sun was shining, and the birds were singing.
This option has two independent clauses: "The sun was shining" and "the birds were singing," connected by the conjunction "and."