This is your Mantra.... "Logic is not Garageband"
Garageband is designed for beginners, Logic is a professional program, it does not set things up for you, it depends on the user to educate themselves.
Having used Logic for many, many years I can safely say, all new users should read the manual.
Go the the link above and read the chapter, "Configuring Your Audio Hardware"
Next... Logic does not setup virtual instruments for you, even though you may see a track with a piano, brass or drum on it, nothing is loaded in the track. It will not play. You will need to load the instruments you want to use.
GB and Logic are vastly different in terms of what they do for the user, however, Garageband, while quite adequate is somewhat limited, Logic does not have those limitations, Logic let's the user make his/her own choices about how they prefer to use the program, as a result, it's not as user friendly. Logic is older than half the users on this board, it was around in close to it's present form long before Apple purchased it. It's development is somewhat out of the Apple sphere of "It's Easy".
Also this section:
"Working With Instruments"
"Playing Software Instruments" is at the bottom of the page.
know that i know, that logic doesn't set up anything, i know where i have to begin and research!
After you read the chapters.. come back and ask the questions, if anything, the manual will help you ask a more specific question which makes it easier to offer help. A generic "it doesn't work" makes it difficult to guess What doesn'r work or where the problem is.