Current compact emitter and receiver technologies are generally inefficient and impractical at terahertz (THz) frequencies between 0.1 and 10 THz. Hence, a gap exists between mature microwave and developed optical technologies. On-chip, integrated broadly tunable and powerful quantum sources that coherently radiate THz waves between 0.1 and 11 THz (potentially extendable to 15 THz) and with potential output power of >1 mW can be achieved based on quantum tunneling of electron pairs across the stack of intrinsic Josephson junctions (IJJs) naturally present in a single crystal of the layered high-Tc superconducting Bi2Sr2CaCu2O8+δ (BSCCO). Such devices have been found to be especially promising solid-state THz sources capable of bridging the entire THz gap, as their wide-frequency tunability range is superior to that obtained from their semiconducting-based rivals, either single resonant-tunneling diodes (RTDs) or THz-quantum cascade lasers (QCLs). Due to the unique electrodynamics of BSCCO, they can also be operated as switching current detectors, paving the way for the realization of on-chip THz-integrated circuits for applications in ultrahigh-speed telecommunications, quantum information, on-chip spectroscopy, and nondestructive sensing, testing, and imaging. This article reviews the history and recent advances in THz sources and detectors based on IJJs with a focus on the application of IJJ THz devices in THz spectroscopy and various types of THz imaging systems such as reflection, transmission, and computed tomography. We show that compact IJJ THz devices with sub-centimeter-sized modules are easy to use in many applications, as they can be regarded as pocket quantum THz torches