Difference between android: and app: prefix in Android XML?

What is the difference and more importantly the necessity of having different prefixes in Andriod view XML? For example, <android.support.v7.widget.Toolbar android:id="@+id/actionToolBar" ...