Some township positions, like those on our Zoning Hearing Board, Planning Commission and Zoning and Code Enforcement are appointed by the township Board of Supervisors.
Other positions are elected by residents of the township. Those would include Supervisor, Auditor and Tax Collector.
The Second Class Township Code dictates the election of those positions. Read it here