You should think of citing and referencing in 3 parts:
None of these parts can exist independently i.e. you cannot include someone else's work/ideas without a citation, or a citation without a full reference, or a reference without a corresponding citation.
The more you read from appropriate academic literature, the more you will see citing and referencing in practice. Examples of citing and referencing can be seen in the How? sections.