What makes a great educational environment?

In a great educational environment students are engaged/interested in learning/doing something they see value in, that provides a challenge that seems attainable, with people who they know care about them.