How to buy NFT from the market place

If the developer mint a nft and add it into the marketplace how can I buy the nft If I am a user do we have function for that.

@hassan as you can see it from the README file in the repository, you can buy tokens from the marketplace example, please check the following line. However, please keep in mind this application is an example, you are free to use it as is but also you can modify it based on your needs.