These are flower buds of a Pear Cactus. They bloom into beautiful white flowers for only one night. Then when the flowers fall off a small eatable fruit forms. Another popular use of the fruit is to make Cactus Pear jelly.
Taken with my Olympus TG-4 at ISO 100, f/3.2, 1/125 sec on auto mode.