A hot and dense state of nuclear matter, known as the quark-gluon plasma, is created in collisions of ultrarelativistic heavy nuclei. Highly energetic quarks and gluons, collectively referred to as partons, lose energy as they travel through this matter, leading to suppressed production of particles with large transverse momenta (
p
T
). Conversely, high-
p
T
particle suppression has not been seen in proton-lead collisions, raising questions regarding the minimum system size required to observe parton energy loss. Oxygen-oxygen (OO) collisions examine a region of effective system size that lies between these two extreme cases. The CMS detector at the CERN LHC has been used to quantify charged-particle production in inclusive OO collisions for the first time via measurements of the nuclear modification factor (
R
AA
). The
R
AA
is derived by comparing particle production to expectations based on proton-proton (
p
p
) data and has a value of unity in the absence of nuclear effects. The data for OO and
p
p
collisions at a nucleon-nucleon center-of-mass energy
s
NN
=
5.36
TeV
correspond to integrated luminosities of
6.1
nb
−
1
and
1.02
pb
−
1
, respectively. The
R
AA
is below unity with a minimum of
0.69
±
0.04
around
p
T
=
6
GeV
. The data exhibit better agreement with theoretical models incorporating parton energy loss as compared to baseline models without energy loss.