Relationship Query in Apex - Salesforce

Relationship Query in Apex - Salesforce. Relationships between the objects(master-detail OR lookup) and we need to fetch all child records using SOQL.