I wanna ask a question about installing firestore

my topic is i was unable to add my firestore pods into my xcode project but then i tried ( import FirebaseFirestore ) and it worked .
but while i was watching mr chris’s firebase authentication video i saw that he only installed ( import firebase ) but i wrote both ( import FirebaseFirestore ) and ( import firebase ) and it worked
but my question is : will that be a problem for me or is it a mistake ?
is it okay that i did that ?