Algebraic higher symmetry and categorical symmetry – a holographic and entanglement view of symmetry