Your stomach does everything for you. You eat food and it is digested finally by the stomach. Whatever you will eat, stomach will divide it into two. One would be energy and other excreta. The excreta is the undigested food and if it is a spicy thing then you will feel it in the bum.