We investigate theoretically and numerically the possibility of existence of Fano and acoustic-induced transparency (AIT) resonances in a simple though realistic one-dimensional acoustic structure made of solid-fluid layers inserted between two fluids. These resonances are obtained by combining appropriately the zeros of transmission (antiresonance) induced by the solid layers and the local resonances induced by the solid or combined solid-fluid layers with surface free boundary conditions. In particular, we show the possibility of trapped modes, also called bound states in continuum, which have recently found a high renewal interest. These modes appear as resonances with zero width in the transmission spectra as well as in the density of states (DOS). We consider three different structures: (i) a single solid layer inserted between two fluids. This simple structure shows the possibility of existence of trapped modes, which are discrete modes of the solid layer that lie in the continuum modes of the surrounding fluids. We give explicit analytical expressions of the dispersion relation of these eigenmodes of the solid layer which are found independent of the nature of the surrounding fluids. By slightly detuning the angle of incidence from that associated to the trapped mode, we get a well-defined Fano resonance characterized by an asymmetric Fano profile in the transmission spectra. (ii) The second structure consists of a solid-fluid-solid triple layer embedded between two fluids. This structure is found more appropriate to show both Fano and acoustic-induced transparency resonances. We provide detailed analytical expressions for the transmission and reflection coefficients that enable us to deduce a closed-form expression of the dispersion relation giving the trapped modes. Two situations can be distinguished in the triple-layer system: in the case of a symmetric structure (i.e., the same solid layers) we show, by detuning the incidence angle θ, the possibility of existence of Fano resonances that can be fitted following a Fano-type expression. The variation of the Fano parameter that describes the asymmetry of such resonances as well as their width versus θ is studied in detail. In the case of an asymmetric structure (i.e., different solid layers), we show the existence of an incidence angle that enables to squeeze a resonance between two transmission zeros induced by the two solid layers. This resonance behaves like an AIT resonance, its position and width depend on the nature of the fluid and solid layers as well as on the difference between the thicknesses of the solid layers. (iii) In the case of a periodic structure (phononic crystal), we show that trapped modes and Fano resonances give rise, respectively, to dispersionless flat bands with zero group velocity and nearly flat bands with negative or positive group velocities. The analytical results presented here are obtained by means of the Green's function method which enables to deduce in closed form: dispersion curves, transmission and reflection coeffic...