NATO is first and foremost a military alliance setup to contain the western expansion of the USSR. It’s a strategic alliance. It’s defensive in as much as a military alliance can be.
What the US is using NATO for now that the USSR is no more and what is the EU getting out of it are actually very valid questions.