Theory is when you know everything, but nothing works.
Practice is when everything works but no one knows why.
Usually, theory and practice are combined: nothing works and no one knows why.