LACP System/port Priority

what is the purpose and difference between Lacp System priority and port priority?