AOLI (Adaptive Optics Lucky Imager) is a state-of-the-art instrument that combines the two best existing techniques to improve spatial resolution: adaptive optics and "lucky imaging". The objective is to obtain images in the diffraction limit in the visible spectrum, with the WHT telescope and, in the near future, with GTC.