Shareholders are owners but do not attend office regularly. Directors meet only periodically in board meetings. The Managing Director is entrusted with substantial management powers and is responsible for day-to-day affairs, hence regularly attends the office of the company.
Note: The question relates to company management structure rather than accounting entries; we have placed it under Company Accounts as the closest available topic.