The correct statement is:
A. Elements combine to form compounds in organisms and nonliving substances.
Elements can indeed combine to form compounds in both living organisms (such as organic compounds) and nonliving substances (like minerals or water).