What does a prenup do?

Three P’s.  Protection of property.  Preservation of separate assets.Providing or waiving spousal support.