Bananas emit ethylene gas (C2H4), which acts as a hormone that processes sugars, allowing them to soften and undergo color changes. By keeping the bananas contained in a brown paper bag, you're effectively trapping the ethylene gas which circulates and allows the ripening process to be sped up. For best results, try leaving them contained overnight.