Are moods also caused by our thoughts


I find that I can think differently dependent on my mood. How is a mood different to a feeling state, and are moods also caused by our thinking or is there a more biological base for them?