Hi MadhuriKamble-0542 ,
SharePoint is mainly used to store and manage files, etc. Per my research, currently it only supports storing files from Teams to SharePoint sites and posts are not stored in SPO.
Here is a blog that introduces the combination of SharePoint and Teams you could have a look:
SharePoint and Teams: Better Together
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.