HDACis work by binding to the active site of histone deacetylases, thereby inhibiting their activity. This inhibition leads to an accumulation of acetylated histones, which are associated with relaxed chromatin and active transcription. The increased gene expression can affect various cellular processes, including those critical for tissue development and disease progression.