The spectrum of hadron is mainly composed as shortly-lived states (resonance) that decay onto two or more hadrons. These resonances play an important role in a variety of phenomenologically significant processes. In this talk, I give an overview on the present status of a rigorous program for studying of resonances and their properties using lattice QCD. I explain the formalism needed for extracting resonant amplitudes from the finite-volume spectra. From these one can extract the masses and widths of resonances. I present some recent examples that illustrate the power of these ideas. I then explain similar formalism that allows for the determination of resonant electroweak amplitudes from finite-volume matrix elements. I use the recent cal...