group cohomology, nonabelian group cohomology, Lie group cohomology
cohomology with constant coefficients / with a local system of coefficients
differential cohomology
symmetric monoidal (∞,1)-category of spectra
The Massey product of length $n$ is a certain $n$-ary products on the cohomology ring of an A-infinity algebra (in particular a dg-algebra).
Roughly, Massey Products are to cohomology as Toda Brackets are to homotopy.
Somewhat more fully, while Toda brackets are relations between mapping space groups $Map_* (\Sigma^n A_0, A_{n+2})$ and chains of maps $A_0 \to \cdots \to A_{n+2}$, and generalizing nullhomotopy of composition, Massey products are a relation between cohomology groups $H^{p_0 + \cdots + p_k - k + 1}(X)$ and $H^{p_0} (X) \otimes \cdots \otimes H^{p_k}(X)$, generalizing the vanishing of pairwise cup products.
The case $k=2$ is straight-forward enough: given three homogeneous classes $[u],[v],[w]$ such that $[u]\smile[v] = [v]\smile[w] = 0$, there are (various) choices of cochains $s , t$ with $d s = u \cdot v$ and $d t = v \cdot w$. The Massey triple product is the set of sums $[ u \cdot t \pm s \cdot w ]$, where the sign is chosen for cocyclicity.
For $A$ a dg-algebra, its chain homology $H_\bullet(A)$ inherits an A-infinity algebra structure by Kadeishvili's theorem. Then for every $n \in \mathbb{N}$ the $n$-ary $A_\infty$-product on elements $(a_1, \cdots, a_n) \in H_\bullet(A)^n$ is given, up to a sign, by the Massey product $\langle a_1, \cdots, a_n\rangle$.
For $n = 3$ this is due to (Stasheff). For general $n$ this appears as (LPWZ, theorem 3.1).
Edward J. O’Neill, On Massey products, Pacific J. Math. Volume 76, Number 1 (1978), 123-127. (EUCLID)
Stanley Kochmann, section 5.4 of Bordism, Stable Homotopy and Adams Spectral Sequences, AMS 1996
The relation of Massey products to A-infinity algebra structures is in Chapter 12 of
for $n = 3$, and for general $n$ in Theorem 3.1 and Corollary A.5 of
as well as from item 1.4 on in
and sections 9.4.10 to 9.4.12 of
Notice that the definition of Massey product on top of p.282 of Valette-Loday, $\langle x,y,z\rangle$ depends on choices of $a,b$ which don’t appear in the notation. Then lemma 9.4.11 talks about a particular choice of $a,b$ which is made in the body of the proof. The actual statement of the lemma only can be deduced after reading the proof. It then says that for these particular choices of a,b the said equality holds. (See this MO discussion).
Massey products in ordinary differential cohomology/Deligne cohomology are discussed in
Wenger, Massey products in Deligne cohomology.
C. Deninger, Higher order operations in Deligne cohomology, Inventiones Math. 122 N1 (1995).
Alexander Schwarzhaupt, Massey products in Deligne-Beilinson cohomology (web, pdf).
Daniel Grady, Hisham Sati, Massey products in differential cohomology via stacks (arXiv:1510.06366).