How does managerial accounting differ from financial accounting?

How does managerial accounting differ from financial accounting?