In the recent years a considerable effort has been devoted to foster the understanding of the basic mechanisms underlying the dynamical arrest that is involved in glass forming in supercooled liquids and in the sol-gel transition. The elucidation of the nature of such processes represents one of the most challenging unsolved problems in the field of material science. In this context, two important theories have contributed significantly to the interpretation of these phenomena: the Mode-Coupling theory (MCT) and the Percolation theory (PT). These theories are rooted on the two pillars of statistical physics, universality and scale laws, and their original formulations have been subsequently modified to account for the fundamental concepts of Energy Landscape (EL) and of the universality of the fragile to strong dynamical crossover (FSC). In this review, we discuss experimental and theoretical results, including Molecular Dynamics (MD) simulations, reported in the literature for colloidal and polymer systems displaying both glass and sol-gel transitions. Special focus is dedicated to the analysis of the interferences between these transitions and on the possible interplay between MCT and PT. By reviewing recent theoretical developments, we show that such interplay between sol-gel and glass transitions may be interpreted in terms of the extended F13 MCT model that describes these processes based on the presence of a glass-glass transition line terminating in an A3 cusp-like singularity (near which the logarithmic decay of the density correlator is observed). This transition line originates from the presence of two different amorphous structures, one generated by the inter-particle attraction and the other by the pure repulsion characteristic of hard spheres. We show here, combining literature results with some new results, that such a situation can be generated, and therefore experimentally studied, by considering colloidal-like particles interacting via a hard core plus an attractive square well potential. In the final part of this review, scaling laws associated both to MCT and PT are applied to describe, by means of these two theories, the specific viscoelastic properties of some systems.