Which of the following accounts are closed at the end of an accounting period?

Which of the following accounts are closed at the end of an accounting period?

A. Nominal accounts
B. Balance sheet accounts
C. Real accounts
D. None of them