Is community college (and then transferring to 4 year) only for general ed. classes?

Thank you so much! These links are all very helpful! I’m also toying with the idea of possibly double majoring. Would I I need to complete the major prep coursework for both majors prior to transferring to a 4 year, or can I do the coursework for a second major after I have already transferred?