They're both. They are a complex carb source, but pack a lot of fiber. Personally, I'd stick with fruit or yogurt for before bed because I think beans or any other complex carb would upset my stomach. If you can handle it, then I'd say they're fine. They pack a little bit of protein as well.