1. Basic concepts of visibility loss
The deterioration of visibility can be divided into four parts as follows:
absorption of gases + scattering of gases + absorption of aerosol + scattering of aerosol
quote from a Ph.D dissertation link here
scattering is a process where the incident radiation is reradiated into all directions after interacting with a scattering point.
In the visible zone (400 nm - 700 nm), the cloud free atmosphere is remarkably transparent, This means that the absorption of the radiation at visible band occurs primarily at the surface and not within the atmosphere itself.
We can derive that the aerosol is the dominant reason of the visibility loss.
PS: the gases species can also impact the radiative transfer process of the earth system, but mainly in non-visible regions.
2. The calculation of visibility loss
Koschmiederp came up with an equation which connect the visibility and extinction coefficient $b_{ext}$ as follows:
$$V_R = 3.91/b_{ext} $$
$V_R$ is the visibility reduction, unit in meters;
$b_{ext}$ is the total extinction coffecient in all aspects (containing the four subset which I have already noted).
In the visible band, the scattering of gases can be omitted and the absorption of gases is mainly attributed to $NO_2$. As an empirical equation, the $b_{ext}$ can be derived as follows:
$$b_{ext} = 3f(RH)*[(NH_4)_2SO_4] + 3f(RH)*[(NH_4)_2SO_4] + 4f(RH)*[Organics] + 10[EC]+[Soil] +[0.6][Coarse\ mass]+ 3.3*[NO_2]+ 10 $$
$f(RH)$ is the function of relative humidity, it will increase with atmospheric RH.
[Coarse mass] = [$PM_{10}$] - [$PM_{2.5}$]
10: the extinction of clean air
In this way, the visibility loss can be rebuilt. We can derive that the "there is a relationship between the concentrations of the chemical and the optical depth/visibility" as your second question.
3. Mass concentration and visibility
A figure I clipped from Chen et al., 2016 represent the relationship between $PM_{2.5}$ concentration and visibility. We can see the visibility is decrease when $PM_{2.5}$ increasing and the decreasing curve is sharp when the concentration is below 50 ${u}g/m^3$. Besides, relative humility is a key factor here which high RH can worsen the deterioration of visibility. This is due to the hygroscopic behavior of some species (eg. $(NH_4)_2SO_4$)