I am a beginner at O365 Sharepoint Online and I have to add an organization chart representing the organizational hierarchy of the members of the society but I cannot find a solution for this. Help me please!
SharePoint Online does not have a out of the box org chart web part. You can check the organization chart when you click on the user name in a person and group field. It is from the Delve and you can go here for more information.
Also there is a org chart tab in MS teams which shall be integrated with your SharePoint Online site.
There are also 3rd party web org chart webs which you can turn to.