Baptism is not a requirement of salvation. However, Jesus gave us an example of baptism in Luke 3. You can read more verses about baptism in the Christian faith here. I think of baptism as symbolic as a marriage ceremony.
I was baptized in the Mormon faith, committing my life to another god. A different god than the one of the Bible. My second baptism at the Garden of Eden church was a realization and repentance of my sinful nature, choosing through this symbolism to commit my life to the Jesus of the Bible. It was like shedding the old coat into the trash bin and putting on a brand new garment.
I’ve worn that garment ever since, but I’d be lying if I didn’t say that putting on that new garment bears a cost. Then again, in this world a supernatural battle goes on unseen. Every person gets a choice to choose which side they stand on and these choices have eternal consequences or rewards. The cost we pay here is non-consequential when compared to eternity.