A jockstrap holds a cup to the pud and testacles, so they are not damaged in the ritual of sports. Basically it's a modern equivalent to a codpiece.