Topics In Generalized Symmetries In The Continuum And On The Lattice