To determine how many bottles the machine can fill in 8 hours, we first need to calculate the rate at which it fills bottles.
The machine fills 5,400 bottles in 3 hours, so we can find the rate per hour:
\[ \text{Bottles per hour} = \frac{5,400 \text{ bottles}}{3 \text{ hours}} = 1,800 \text{ bottles per hour} \]
Now, we can calculate how many bottles it can fill in 8 hours:
\[ \text{Bottles in 8 hours} = 1,800 \text{ bottles/hour} \times 8 \text{ hours} = 14,400 \text{ bottles} \]
Therefore, the machine can fill 14,400 bottles in 8 hours.