The Lord's Supper was instituted by our Saviour the night He was betrayed and delivered to die for our sins on the cross. No one is saved by partaking of the Lord's Supper. It is a memorial of the death of the Lord Jesus. We are to remember what He did for us on the cross. Those who have trusted the Lord Jesus Christ as their Saviour and have followed Him in baptism may partake of the Lord's Supper.
Baptism is a burial and a resurrection.
Both ordinances of the church are beautiful pictures of spiritual truth. They have no saving power. They picture what the Lord Jesus has done for us. Remember that baptism is only for believers. Baptism is for believers only.