What makes a music game have educational value?

This is a very important point for teachers and parents. When does a computer game become education, and when is it just entertainment? What are the critical aspects that make a game educational, and something that would make us as teachers and parents spend our dollars, time and energy on it? In our niche of